package com.day11.ex04;

public class Animal {
    private  int age=20;
    private final String city="北京";
    public Animal(){}
    public Animal(int age){
        this.age=age;
    }
    public void show(){
        age=40;
        System.out.println(age);
        System.out.println(city);
    }

    public void eat() {

    }
}
